package com.hj.dapp.business.category.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hj.dapp.business.category.model.Category;
import com.hj.dapp.common.request.PageRequest;

import java.util.List;

/**
 * @author 胡奥程
 * @version 1.0
 * @date 2024/1/27
 */
public interface CategoryService {
    IPage<Category> page(PageRequest<Category> pageRequest);

    Category get(Long id);

    void save(Category category);

    void edit(Category category);

    void delete(Long id);

    List<Category> list();

}
